<?php
namespace app\index\controller;
use pidan\helper\Str;
use pidan\facade\Log;
class Index
{
	public function __construct(){
	}
	public function phpinfo(){
		phpinfo();
		return ob_get_clean();
	}

	public function hello(){
		return 'hello world!';
	}
	public function index(){
		Log::write('测试日志信息，这是警告级别，并且实时写入','notice');

		return 'hello world!';

	}

}
